//
//  XLGestureLockView.h
//  industry
//
//  Created by xl on 2020/12/30.
//  Copyright © 2020 Haier. All rights reserved.
//

#import "XLView.h"

@class XLGestureLockView;

//检测手势密码答案情况 对/错/不够4个数字
typedef NS_ENUM(NSUInteger, ResultKindType) {
    ResultKindTypeTrue,
    ResultKindTypeFalse,
    ResultKindTypeNoEnough,
    ResultKindTypeClear
};

@protocol XLGestureLockDelegate <NSObject>

- (void)gestureLockView:(XLGestureLockView *)lockView drawRectFinished:(NSMutableString *)gesturePassword;

@end

@interface XLGestureLockView : XLView

@property (assign, nonatomic) id<XLGestureLockDelegate> delegate;

- (void)clearLockView;//清除布局 重新开始

- (void)checkPwdResult:(ResultKindType)resultType;

@end


